//
//  SCViewController.m
//  susencloud
//
//  Created by tanchao on 15/11/9.
//  Copyright © 2015年 chaoren. All rights reserved.
//

#import "SCViewController.h"
#import "UIView+AutoLayoutViews.h"
@interface SCViewController ()

@end

@implementation SCViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"常用";
    UIView *blueView = [UIView new];
    blueView.backgroundColor = [UIColor blueColor];
    [self.view addSubview:blueView];
    [blueView lx_InnerLayoutForType:LXLayoutInnerTypeCenter referedView:self.view size:CGSizeMake(50, 100) offset:CGPointZero];
    UIView *redView = [UIView new];
    redView.backgroundColor = [UIColor redColor];
    [self.view addSubview:redView];
    [redView lx_OuterLayoutForType:LXLayoutOuterTypeTopCenter referedView:blueView size:CGSizeMake(100, 100) offset:CGPointMake(0, -20)];
    UIView *whitView = [UIView new];
    whitView.backgroundColor = [UIColor whiteColor];
    [redView addSubview:whitView];
    [whitView lx_InnerLayoutForType:LXLayoutInnerTypeLeftTop referedView:redView size:CGSizeMake(50, 50) offset:CGPointMake(25, 25)];
//    [[NetworkTools sharedTools]getfolders];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
